package dto;

import org.springframework.web.multipart.MultipartFile;

public class SaleListDTO {
	private int saleNo;
	private String memberId;
	private String location;
	private String siteName;
	private String productName;
	private int productPrice;
	private int reducedPrice;
	private int quantity;
	private String saleDate;
	private String memo;
	private String productImage;
	private MultipartFile upfile;
	
	public SaleListDTO() {}

	public SaleListDTO(int saleNo, String memberId, String location,
			String siteName, String productName, int productPrice,
			int reducedPrice, int quantity, String saleDate, String memo,
			String productImage, MultipartFile upfile) {
		super();
		this.saleNo = saleNo;
		this.memberId = memberId;
		this.location = location;
		this.siteName = siteName;
		this.productName = productName;
		this.productPrice = productPrice;
		this.reducedPrice = reducedPrice;
		this.quantity = quantity;
		this.saleDate = saleDate;
		this.memo = memo;
		this.productImage = productImage;
		this.upfile = upfile;
	}

	public int getSaleNo() {
		return saleNo;
	}

	public void setSaleNo(int saleNo) {
		this.saleNo = saleNo;
	}

	public String getMemberId() {
		return memberId;
	}

	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getSiteName() {
		return siteName;
	}

	public void setSiteName(String siteName) {
		this.siteName = siteName;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public int getProductPrice() {
		return productPrice;
	}

	public void setProductPrice(int productPrice) {
		this.productPrice = productPrice;
	}

	public int getReducedPrice() {
		return reducedPrice;
	}

	public void setReducedPrice(int reducedPrice) {
		this.reducedPrice = reducedPrice;
	}

	public int getQuantity() {
		return quantity;
	}

	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}

	public String getSaleDate() {
		return saleDate;
	}

	public void setSaleDate(String saleDate) {
		this.saleDate = saleDate;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public String getProductImage() {
		return productImage;
	}

	public void setProductImage(String productImage) {
		this.productImage = productImage;
	}

	public MultipartFile getUpfile() {
		return upfile;
	}

	public void setUpfile(MultipartFile upfile) {
		this.upfile = upfile;
	}

	@Override
	public String toString() {
		return "SaleListDTO [saleNo=" + saleNo + ", memberId=" + memberId
				+ ", location=" + location + ", siteName=" + siteName
				+ ", productName=" + productName + ", productPrice="
				+ productPrice + ", reducedPrice=" + reducedPrice
				+ ", quantity=" + quantity + ", saleDate=" + saleDate
				+ ", memo=" + memo + ", productImage=" + productImage
				+ ", upfile=" + upfile + "]";
	}
	
	
}